<%-- 
    Document   : items_selling
    Created on : Apr 18, 2010, 11:05:07 PM
    Author     : numessi
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="biz.source_code.miniTemplator.MiniTemplator"%>

<%
            String templateFileName = "items_selling.html";

            String aPath = pageContext.getServletContext().getRealPath(request.getRequestURI()).replace('\\', '/');
            String cPath = request.getContextPath();
            if (cPath.length() > 1) {
                int f1 = aPath.lastIndexOf(cPath);
                aPath = aPath.substring(0, f1) + aPath.substring(f1 + cPath.length());
            }
            aPath = aPath.substring(0, aPath.lastIndexOf('/') + 1);

            MiniTemplator templator = new MiniTemplator(aPath + templateFileName);
            out.print(templator.generateOutput());
%>
